<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS现代布局——栅格化系统示例</title>
    <link rel="stylesheet" href="../styles/normalize.css">
    <link rel="stylesheet" href="./styles/css17_layout_flex_grid.css">
</head>

<body>
    <h1>CSS现代布局——栅格化系统示例</h1>
    <p>
        延伸阅读：960系统
    </p>
    <p>核心内容：容器(container)、行(row)、列(col)、槽(gutter)、位移(offset)       
    </p>
    <div class="container bg">
        <div class="row">
            <div class="col col-1">列1</div>
            <div class="col col-1">列2</div>
            <div class="col col-1">列3</div>
            <div class="col col-1">列4</div>
            <div class="col col-1">列5</div>
            <div class="col col-1">列6</div>
            <div class="col col-1">列7</div>
            <div class="col col-1">列8</div>
            <div class="col col-1">列9</div>
            <div class="col col-1">列10</div>
            <div class="col col-1">列11</div>
            <div class="col col-1">列12</div>
        </div>
        <div class="row">
            <div class="col col-3">3列</div>
            <div class="col col-7">7列</div>
            <div class="col col-2">2列</div>
        </div>
        <div class="row">
            <div class="col col-4 offset-4">偏移4列，占位4列</div>
        </div>
        <div class="row">
            <div class="col col-12">12列</div>
        </div>
    </div>
</body>

</html>